<template>
  <div>
    <div class="nav-box">
      <router-link to="/discover">发现音乐</router-link>
      <router-link to="/my">我的音乐</router-link>
      <router-link to="/friend">关注</router-link>
    </div>
    <router-view></router-view>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.nav-box {
  background-color: #242424;
  height: 70px;
  display: flex;
  align-items: center;
}
.nav-box a {
  text-align: center;
  text-decoration: none;
  color: #ccc;
  font-size: 18px;
  flex: 1;
}
.nav-box a.router-link-active {
  color: red;
}
</style>